package com.hunan.api.catv.common;

/**
 * 缓存key相关
 */
public class CacheKey {

    /**
     * 后台用户登陆
     */
    public static final String adminToken = "10.{0}";


    /**
     * APP登陆
     */
    public static final String memberToken = "20.{0}";

    public static final String memberRefreshToken = "21.{0}";

    public static final String member_wxUserInfo = "22.{0}";

    public static final String member_cps_info = "23.{0}";

    public static final String member_appleUserInfo = "24.{0}";

    public static final Long memberTokenExpireTime = 604800L;

    public static final Long memberRefreshTokenExpireTime = 1296000L;

    /**
     * 短信登录
     */
    public static final String sms_code = "30.{0}{1}";

    public static final String sms_phone_timeout = "31.{0}{1}";

    public static final String sms_phone_count = "32.{0}";

    /**
     * 视频点播
     */
    public static final String vod_sign = "40";


    /**
     * 点赞
     */
    public static final String likeHash = "50.{0,number,#}";

    public static final String likeHKey = "{0,number,#}-{1,number,#}";

    public static final String likeCount = "51";

    public static final String likeCountHKey = "{0,number,#}-{1,number,#}";

    /**
     * 预约
     */
    public static final String member_subscribe_record = "60.{0}.{1}";

    public static final String content_subscribe_record = "61.{0}.{1}";

    /**
     * IM
     */
    public static final String im_sign = "70.{0}";

    /**
     * 小窝推荐
     */
    public static final String xw_recommend = "80";

    /**
     * 专属频道
     */
    public static final String exclusive = "81.{0}";

    /**
     * 活动
     */
    public static final String member_activity_record = "90.{0}";

    public static final String activity_member_record = "91.{0}";

    public static final String playCount = "100";

    /**
     * 第三方openid
     */
    public static final String member_third_openid = "M_THIRD_OPENID";

}
